PDF4Java Reference Documentation
com.o2sol.pdf4java.core Package / PDFFile Class / isPDFFileEncrypted Method
Stream that contains the PDF file.
In This Topic
    isPDFFileEncrypted Method
    In This Topic
    Verifies if the PDF file is encrypted.
    Syntax
    public static boolean isPDFFileEncrypted( 
       Stream stream
    )

    Parameters

    stream
    Stream that contains the PDF file.

    Return Value

    True if the PDF file is encrypted, false otherwise.
    See Also